package com.ruoyi.web.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 product
 * 
 * @author song
 * @date 2024-05-11
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 规格 */
    @Excel(name = "规格")
    private String productName;

    /** 数量 */
    @Excel(name = "数量")
    private Long productNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal productPrice;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal productTotal;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productTime;

    /** 交易号 */
    @Excel(name = "交易号")
    private String productNo;

    /** 客户端 */
    @Excel(name = "客户端")
    private String productSource;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String productPay;

    /** 收货信息/留言 */
    @Excel(name = "收货地址/留言")
    private String productInfo;

    /** 年 */
    @Excel(name = "年")
    private String productYear;

    /** 月 */
    @Excel(name = "月")
    private String productMonty;

    /** 日 */
    @Excel(name = "日")
    private String productDay;

    /** 删除状态 */

    private String deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductNum(Long productNum) 
    {
        this.productNum = productNum;
    }

    public Long getProductNum() 
    {
        return productNum;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductTotal(BigDecimal productTotal) 
    {
        this.productTotal = productTotal;
    }

    public BigDecimal getProductTotal() 
    {
        return productTotal;
    }
    public void setProductTime(Date productTime) 
    {
        this.productTime = productTime;
    }

    public Date getProductTime() 
    {
        return productTime;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductSource(String productSource) 
    {
        this.productSource = productSource;
    }

    public String getProductSource() 
    {
        return productSource;
    }
    public void setProductPay(String productPay) 
    {
        this.productPay = productPay;
    }

    public String getProductPay() 
    {
        return productPay;
    }
    public void setProductInfo(String productInfo) 
    {
        this.productInfo = productInfo;
    }

    public String getProductInfo() 
    {
        return productInfo;
    }
    public void setProductYear(String productYear) 
    {
        this.productYear = productYear;
    }

    public String getProductYear() 
    {
        return productYear;
    }
    public void setProductMonty(String productMonty) 
    {
        this.productMonty = productMonty;
    }

    public String getProductMonty() 
    {
        return productMonty;
    }
    public void setProductDay(String productDay) 
    {
        this.productDay = productDay;
    }

    public String getProductDay() 
    {
        return productDay;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("productNum", getProductNum())
            .append("productPrice", getProductPrice())
            .append("productTotal", getProductTotal())
            .append("productTime", getProductTime())
            .append("productNo", getProductNo())
            .append("productSource", getProductSource())
            .append("productPay", getProductPay())
            .append("productInfo", getProductInfo())
            .append("productYear", getProductYear())
            .append("productMonty", getProductMonty())
            .append("productDay", getProductDay())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("remark", getRemark())
            .toString();
    }
}
